﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8" />
    <title>TrafficLight: StateForge::Examples::TrafficLight::TrafficLightTest Class Reference</title>
    <link href="/Content/Help.css" rel="stylesheet" type="text/css" />
    <link href="/Content/css/tabs.css" rel="stylesheet" type="text/css" />
    <link href="/Content/css/doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <div id="header">
        <img id="logo" alt="StateForge" src="/Content/Images/StateForgeLogo.png" />
        <div id="title">
            <h1>
                C# examples using state machines generated by StateBuilderDotNet
            </h1>
            <h3>
                TrafficLight: StateForge::Examples::TrafficLight::TrafficLightTest Class Reference
            </h3>
        </div>
        <div id="menucontainer">
            <ul id="menu">
                <li><a href="/">Home</a></li>
                <li><a href="/Home/Download">Downloads</a></li>
                <li><a href="/Help/state-machine-tools.aspx">Help</a></li>
                <li><a href="/Home/Faq">F.A.Q</a></li>
                <li><a href="/Home/About">Contact us</a></li>
            </ul>
        </div>
    </div>
<!-- Generated by Doxygen 1.7.4 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespace_state_forge.html">StateForge</a>      </li>
      <li class="navelem"><a class="el" href="namespace_state_forge_1_1_examples.html">Examples</a>      </li>
      <li class="navelem"><a class="el" href="namespace_state_forge_1_1_examples_1_1_traffic_light.html">TrafficLight</a>      </li>
      <li class="navelem"><a class="el" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html">TrafficLightTest</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-methods">Private Member Functions</a> &#124;
<a href="#pri-static-methods">Static Private Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="#pri-static-attribs">Static Private Attributes</a>  </div>
  <div class="headertitle">
<div class="title">StateForge::Examples::TrafficLight::TrafficLightTest Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="StateForge::Examples::TrafficLight::TrafficLightTest" -->
<p><a href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#a99920d1497921ff22547726dd15eca0e">TrafficLightTest</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#af75e0a034539ff6081e523db72a3b996">Setup</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#a9e344f3baf873beaf9550599fb614690">TearDown</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#a205166958da902ea876f315b5bd694fc">NormalOperation</a> ()</td></tr>
<tr><td colspan="2"><h2><a name="pri-methods"></a>
Private Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#a23a761d719302a23ad85adba0ee807a8">StateMachineEnd</a> (object sender, EventArgs e)</td></tr>
<tr><td colspan="2"><h2><a name="pri-static-methods"></a>
Static Private Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#ab1f448cda1f6b272bebbbdd97390e299">Main</a> (string[] args)</td></tr>
<tr><td colspan="2"><h2><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">TrafficLightContext&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#adac2af3232210826c10d4ef27e6b9fd4">context</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_light.html">Light</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#a0935edcb49fa5bd9eb880a3211efb9b9">light</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">MockRepository&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#a0b2d55fba0d0047eed1316a4019ee690">repository</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">IObserver&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#acbe28b7afea03021e875806af9b80085">observer</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#ac95afce187463abefe83e3cad1004da6">current</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#ad871ac2946f4da8137f6054499ce5a4b">next</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#a376cda73bb5544077f0a7439ba3281d7">transition</a></td></tr>
<tr><td colspan="2"><h2><a name="pri-static-attribs"></a>
Static Private Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#a1055ce26d36a81218a1ebd90bf7840bd">contextName</a> = &quot;TrafficLightContext&quot;</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static TraceSource&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#af0ba597ea0f15da66cf4c2c8d8d3186a">ts</a> = new TraceSource(&quot;TrafficLight&quot;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static AutoResetEvent&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#ac798b89b9ec2cf8a26352729d3421d40">autoResetEvent</a> = new AutoResetEvent(false)</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock">
<p>Definition at line <a class="el" href="_traffic_light_test_8cs_source.html#l00027">27</a> of file <a class="el" href="_traffic_light_test_8cs_source.html">TrafficLightTest.cs</a>.</p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a99920d1497921ff22547726dd15eca0e"></a><!-- doxytag: member="StateForge::Examples::TrafficLight::TrafficLightTest::TrafficLightTest" ref="a99920d1497921ff22547726dd15eca0e" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">StateForge::Examples::TrafficLight::TrafficLightTest::TrafficLightTest </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_traffic_light_test_8cs_source.html#l00038">38</a> of file <a class="el" href="_traffic_light_test_8cs_source.html">TrafficLightTest.cs</a>.</p>
<div class="fragment"><pre class="fragment">        {
            <a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#af75e0a034539ff6081e523db72a3b996">Setup</a>();
        }
</pre></div>
</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="ab1f448cda1f6b272bebbbdd97390e299"></a><!-- doxytag: member="StateForge::Examples::TrafficLight::TrafficLightTest::Main" ref="ab1f448cda1f6b272bebbbdd97390e299" args="(string[] args)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void StateForge::Examples::TrafficLight::TrafficLightTest::Main </td>
          <td>(</td>
          <td class="paramtype">string[]&#160;</td>
          <td class="paramname"><em>args</em></td><td>)</td>
          <td><code> [inline, static, private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_traffic_light_test_8cs_source.html#l00049">49</a> of file <a class="el" href="_traffic_light_test_8cs_source.html">TrafficLightTest.cs</a>.</p>
<div class="fragment"><pre class="fragment">        {
            <a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#a99920d1497921ff22547726dd15eca0e">TrafficLightTest</a> trafficLightTest = <span class="keyword">new</span> <a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#a99920d1497921ff22547726dd15eca0e">TrafficLightTest</a>();
            trafficLightTest.NormalOperation();
            <a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#ac798b89b9ec2cf8a26352729d3421d40">autoResetEvent</a>.WaitOne(2000);
            <a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#af0ba597ea0f15da66cf4c2c8d8d3186a">ts</a>.TraceInformation(<span class="stringliteral">&quot;Test has ended&quot;</span>);
            Environment.Exit(0);
        }
</pre></div>
</div>
</div>
<a class="anchor" id="a205166958da902ea876f315b5bd694fc"></a><!-- doxytag: member="StateForge::Examples::TrafficLight::TrafficLightTest::NormalOperation" ref="a205166958da902ea876f315b5bd694fc" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void StateForge::Examples::TrafficLight::TrafficLightTest::NormalOperation </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_traffic_light_test_8cs_source.html#l00076">76</a> of file <a class="el" href="_traffic_light_test_8cs_source.html">TrafficLightTest.cs</a>.</p>
<div class="fragment"><pre class="fragment">        {
            <span class="keyword">using</span> (<a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#a0b2d55fba0d0047eed1316a4019ee690">repository</a>.Record())
            {
                <span class="keyword">using</span> (<a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#a0b2d55fba0d0047eed1316a4019ee690">repository</a>.Ordered())
                {
                    <span class="comment">// this.context.EnterInitialState();</span>
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#acbe28b7afea03021e875806af9b80085">observer</a>.OnEntry(<a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#a1055ce26d36a81218a1ebd90bf7840bd">contextName</a>, <span class="stringliteral">&quot;Root&quot;</span>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#acbe28b7afea03021e875806af9b80085">observer</a>.OnTimerStart(<a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#a1055ce26d36a81218a1ebd90bf7840bd">contextName</a>, <span class="stringliteral">&quot;MaxDuration&quot;</span>, <a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#a0935edcb49fa5bd9eb880a3211efb9b9">light</a>.TimerMaxDuration));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#acbe28b7afea03021e875806af9b80085">observer</a>.OnEntry(<a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#a1055ce26d36a81218a1ebd90bf7840bd">contextName</a>, <span class="stringliteral">&quot;Red&quot;</span>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#acbe28b7afea03021e875806af9b80085">observer</a>.OnTimerStart(<a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#a1055ce26d36a81218a1ebd90bf7840bd">contextName</a>, <span class="stringliteral">&quot;TimerRed&quot;</span>, <a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#a0935edcb49fa5bd9eb880a3211efb9b9">light</a>.TimerRedDuration));
                    <span class="comment">// this.context.EvTimerRed();</span>
                    <a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#ac95afce187463abefe83e3cad1004da6">current</a> = <span class="stringliteral">&quot;Red&quot;</span>; <a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#ad871ac2946f4da8137f6054499ce5a4b">next</a> = <span class="stringliteral">&quot;Green&quot;</span>; <a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#a376cda73bb5544077f0a7439ba3281d7">transition</a> = <span class="stringliteral">&quot;EvTimerRed&quot;</span>;
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#acbe28b7afea03021e875806af9b80085">observer</a>.OnTransitionBegin(<a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#a1055ce26d36a81218a1ebd90bf7840bd">contextName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#ac95afce187463abefe83e3cad1004da6">current</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#ad871ac2946f4da8137f6054499ce5a4b">next</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#a376cda73bb5544077f0a7439ba3281d7">transition</a>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#acbe28b7afea03021e875806af9b80085">observer</a>.OnExit(<a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#a1055ce26d36a81218a1ebd90bf7840bd">contextName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#ac95afce187463abefe83e3cad1004da6">current</a>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#acbe28b7afea03021e875806af9b80085">observer</a>.OnTimerStop(<a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#a1055ce26d36a81218a1ebd90bf7840bd">contextName</a>, <span class="stringliteral">&quot;TimerRed&quot;</span>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#acbe28b7afea03021e875806af9b80085">observer</a>.OnEntry(<a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#a1055ce26d36a81218a1ebd90bf7840bd">contextName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#ad871ac2946f4da8137f6054499ce5a4b">next</a>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#acbe28b7afea03021e875806af9b80085">observer</a>.OnTimerStart(<a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#a1055ce26d36a81218a1ebd90bf7840bd">contextName</a>, <span class="stringliteral">&quot;TimerGreen&quot;</span>, <a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#a0935edcb49fa5bd9eb880a3211efb9b9">light</a>.TimerGreenDuration));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#acbe28b7afea03021e875806af9b80085">observer</a>.OnTransitionEnd(<a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#a1055ce26d36a81218a1ebd90bf7840bd">contextName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#ac95afce187463abefe83e3cad1004da6">current</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#ad871ac2946f4da8137f6054499ce5a4b">next</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#a376cda73bb5544077f0a7439ba3281d7">transition</a>));

                    <span class="comment">// this.context.EvTimerGreen();</span>
                    <a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#ac95afce187463abefe83e3cad1004da6">current</a> = <span class="stringliteral">&quot;Green&quot;</span>; <a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#ad871ac2946f4da8137f6054499ce5a4b">next</a> = <span class="stringliteral">&quot;Yellow&quot;</span>; <a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#a376cda73bb5544077f0a7439ba3281d7">transition</a> = <span class="stringliteral">&quot;EvTimerGreen&quot;</span>;
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#acbe28b7afea03021e875806af9b80085">observer</a>.OnTransitionBegin(<a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#a1055ce26d36a81218a1ebd90bf7840bd">contextName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#ac95afce187463abefe83e3cad1004da6">current</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#ad871ac2946f4da8137f6054499ce5a4b">next</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#a376cda73bb5544077f0a7439ba3281d7">transition</a>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#acbe28b7afea03021e875806af9b80085">observer</a>.OnExit(<a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#a1055ce26d36a81218a1ebd90bf7840bd">contextName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#ac95afce187463abefe83e3cad1004da6">current</a>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#acbe28b7afea03021e875806af9b80085">observer</a>.OnEntry(<a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#a1055ce26d36a81218a1ebd90bf7840bd">contextName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#ad871ac2946f4da8137f6054499ce5a4b">next</a>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#acbe28b7afea03021e875806af9b80085">observer</a>.OnTimerStart(<a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#a1055ce26d36a81218a1ebd90bf7840bd">contextName</a>, <span class="stringliteral">&quot;TimerYellow&quot;</span>, <a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#a0935edcb49fa5bd9eb880a3211efb9b9">light</a>.TimerYellowDuration));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#acbe28b7afea03021e875806af9b80085">observer</a>.OnTransitionEnd(<a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#a1055ce26d36a81218a1ebd90bf7840bd">contextName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#ac95afce187463abefe83e3cad1004da6">current</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#ad871ac2946f4da8137f6054499ce5a4b">next</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#a376cda73bb5544077f0a7439ba3281d7">transition</a>));

                    <span class="comment">// this.context.EvTimerYellow();</span>
                    <a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#ac95afce187463abefe83e3cad1004da6">current</a> = <span class="stringliteral">&quot;Yellow&quot;</span>; <a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#ad871ac2946f4da8137f6054499ce5a4b">next</a> = <span class="stringliteral">&quot;Red&quot;</span>; <a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#a376cda73bb5544077f0a7439ba3281d7">transition</a> = <span class="stringliteral">&quot;EvTimerYellow&quot;</span>;
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#acbe28b7afea03021e875806af9b80085">observer</a>.OnTransitionBegin(<a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#a1055ce26d36a81218a1ebd90bf7840bd">contextName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#ac95afce187463abefe83e3cad1004da6">current</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#ad871ac2946f4da8137f6054499ce5a4b">next</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#a376cda73bb5544077f0a7439ba3281d7">transition</a>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#acbe28b7afea03021e875806af9b80085">observer</a>.OnExit(<a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#a1055ce26d36a81218a1ebd90bf7840bd">contextName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#ac95afce187463abefe83e3cad1004da6">current</a>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#acbe28b7afea03021e875806af9b80085">observer</a>.OnEntry(<a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#a1055ce26d36a81218a1ebd90bf7840bd">contextName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#ad871ac2946f4da8137f6054499ce5a4b">next</a>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#acbe28b7afea03021e875806af9b80085">observer</a>.OnTimerStart(<a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#a1055ce26d36a81218a1ebd90bf7840bd">contextName</a>, <span class="stringliteral">&quot;TimerRed&quot;</span>, <a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#a0935edcb49fa5bd9eb880a3211efb9b9">light</a>.TimerRedDuration));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#acbe28b7afea03021e875806af9b80085">observer</a>.OnTransitionEnd(<a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#a1055ce26d36a81218a1ebd90bf7840bd">contextName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#ac95afce187463abefe83e3cad1004da6">current</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#ad871ac2946f4da8137f6054499ce5a4b">next</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#a376cda73bb5544077f0a7439ba3281d7">transition</a>));

                    <span class="comment">// this.context.EvTimerMaxDuration();</span>
                    <a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#ac95afce187463abefe83e3cad1004da6">current</a> = <span class="stringliteral">&quot;Red&quot;</span>; <a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#ad871ac2946f4da8137f6054499ce5a4b">next</a> = <span class="stringliteral">&quot;End&quot;</span>; <a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#a376cda73bb5544077f0a7439ba3281d7">transition</a> = <span class="stringliteral">&quot;EvTimerMaxDuration&quot;</span>;
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#acbe28b7afea03021e875806af9b80085">observer</a>.OnTransitionBegin(<a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#a1055ce26d36a81218a1ebd90bf7840bd">contextName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#ac95afce187463abefe83e3cad1004da6">current</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#ad871ac2946f4da8137f6054499ce5a4b">next</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#a376cda73bb5544077f0a7439ba3281d7">transition</a>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#acbe28b7afea03021e875806af9b80085">observer</a>.OnExit(<a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#a1055ce26d36a81218a1ebd90bf7840bd">contextName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#ac95afce187463abefe83e3cad1004da6">current</a>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#acbe28b7afea03021e875806af9b80085">observer</a>.OnTimerStop(<a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#a1055ce26d36a81218a1ebd90bf7840bd">contextName</a>, <span class="stringliteral">&quot;TimerRed&quot;</span>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#acbe28b7afea03021e875806af9b80085">observer</a>.OnEntry(<a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#a1055ce26d36a81218a1ebd90bf7840bd">contextName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#ad871ac2946f4da8137f6054499ce5a4b">next</a>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#acbe28b7afea03021e875806af9b80085">observer</a>.OnTransitionEnd(<a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#a1055ce26d36a81218a1ebd90bf7840bd">contextName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#ac95afce187463abefe83e3cad1004da6">current</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#ad871ac2946f4da8137f6054499ce5a4b">next</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#a376cda73bb5544077f0a7439ba3281d7">transition</a>));
                }
            }

            <span class="keyword">using</span> (<a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#a0b2d55fba0d0047eed1316a4019ee690">repository</a>.Playback())
            {
                Console.WriteLine(<span class="stringliteral">&quot;Entering state machine&quot;</span>);
                this.<a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#adac2af3232210826c10d4ef27e6b9fd4">context</a>.EnterInitialState();
                Console.WriteLine(<span class="stringliteral">&quot;Wait for end of state machine&quot;</span>);
                <a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#ac798b89b9ec2cf8a26352729d3421d40">autoResetEvent</a>.WaitOne(2000);
            }
        }
</pre></div>
</div>
</div>
<a class="anchor" id="af75e0a034539ff6081e523db72a3b996"></a><!-- doxytag: member="StateForge::Examples::TrafficLight::TrafficLightTest::Setup" ref="af75e0a034539ff6081e523db72a3b996" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void StateForge::Examples::TrafficLight::TrafficLightTest::Setup </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_traffic_light_test_8cs_source.html#l00059">59</a> of file <a class="el" href="_traffic_light_test_8cs_source.html">TrafficLightTest.cs</a>.</p>
<div class="fragment"><pre class="fragment">        {
            <a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#a0b2d55fba0d0047eed1316a4019ee690">repository</a> = <span class="keyword">new</span> MockRepository();
            this.<a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#a0935edcb49fa5bd9eb880a3211efb9b9">light</a> = <span class="keyword">new</span> Light();
            this.<a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#acbe28b7afea03021e875806af9b80085">observer</a> = <a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#a0b2d55fba0d0047eed1316a4019ee690">repository</a>.StrictMock&lt;IObserver&gt;();
            this.<a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#adac2af3232210826c10d4ef27e6b9fd4">context</a> = <span class="keyword">new</span> TrafficLightContext(this.<a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#a0935edcb49fa5bd9eb880a3211efb9b9">light</a>);
            this.context.Observer = this.<a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#acbe28b7afea03021e875806af9b80085">observer</a>;
            this.context.EndHandler += <span class="keyword">new</span> EventHandler&lt;EventArgs&gt;(<a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#a23a761d719302a23ad85adba0ee807a8">StateMachineEnd</a>);
        }
</pre></div>
</div>
</div>
<a class="anchor" id="a23a761d719302a23ad85adba0ee807a8"></a><!-- doxytag: member="StateForge::Examples::TrafficLight::TrafficLightTest::StateMachineEnd" ref="a23a761d719302a23ad85adba0ee807a8" args="(object sender, EventArgs e)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void StateForge::Examples::TrafficLight::TrafficLightTest::StateMachineEnd </td>
          <td>(</td>
          <td class="paramtype">object&#160;</td>
          <td class="paramname"><em>sender</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">EventArgs&#160;</td>
          <td class="paramname"><em>e</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline, private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_traffic_light_test_8cs_source.html#l00043">43</a> of file <a class="el" href="_traffic_light_test_8cs_source.html">TrafficLightTest.cs</a>.</p>
<div class="fragment"><pre class="fragment">        {
            Console.WriteLine(<span class="stringliteral">&quot;State machine has ended&quot;</span>);
            <a class="code" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#ac798b89b9ec2cf8a26352729d3421d40">autoResetEvent</a>.Set();
        }
</pre></div>
</div>
</div>
<a class="anchor" id="a9e344f3baf873beaf9550599fb614690"></a><!-- doxytag: member="StateForge::Examples::TrafficLight::TrafficLightTest::TearDown" ref="a9e344f3baf873beaf9550599fb614690" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void StateForge::Examples::TrafficLight::TrafficLightTest::TearDown </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_traffic_light_test_8cs_source.html#l00070">70</a> of file <a class="el" href="_traffic_light_test_8cs_source.html">TrafficLightTest.cs</a>.</p>
<div class="fragment"><pre class="fragment">        {

        }
</pre></div>
</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="ac798b89b9ec2cf8a26352729d3421d40"></a><!-- doxytag: member="StateForge::Examples::TrafficLight::TrafficLightTest::autoResetEvent" ref="ac798b89b9ec2cf8a26352729d3421d40" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">AutoResetEvent <a class="el" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#ac798b89b9ec2cf8a26352729d3421d40">StateForge::Examples::TrafficLight::TrafficLightTest::autoResetEvent</a> = new AutoResetEvent(false)<code> [static, private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_traffic_light_test_8cs_source.html#l00035">35</a> of file <a class="el" href="_traffic_light_test_8cs_source.html">TrafficLightTest.cs</a>.</p>

</div>
</div>
<a class="anchor" id="adac2af3232210826c10d4ef27e6b9fd4"></a><!-- doxytag: member="StateForge::Examples::TrafficLight::TrafficLightTest::context" ref="adac2af3232210826c10d4ef27e6b9fd4" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TrafficLightContext <a class="el" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#adac2af3232210826c10d4ef27e6b9fd4">StateForge::Examples::TrafficLight::TrafficLightTest::context</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_traffic_light_test_8cs_source.html#l00029">29</a> of file <a class="el" href="_traffic_light_test_8cs_source.html">TrafficLightTest.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a1055ce26d36a81218a1ebd90bf7840bd"></a><!-- doxytag: member="StateForge::Examples::TrafficLight::TrafficLightTest::contextName" ref="a1055ce26d36a81218a1ebd90bf7840bd" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">String <a class="el" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#a1055ce26d36a81218a1ebd90bf7840bd">StateForge::Examples::TrafficLight::TrafficLightTest::contextName</a> = &quot;TrafficLightContext&quot;<code> [static, private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_traffic_light_test_8cs_source.html#l00033">33</a> of file <a class="el" href="_traffic_light_test_8cs_source.html">TrafficLightTest.cs</a>.</p>

</div>
</div>
<a class="anchor" id="ac95afce187463abefe83e3cad1004da6"></a><!-- doxytag: member="StateForge::Examples::TrafficLight::TrafficLightTest::current" ref="ac95afce187463abefe83e3cad1004da6" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">string <a class="el" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#ac95afce187463abefe83e3cad1004da6">StateForge::Examples::TrafficLight::TrafficLightTest::current</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_traffic_light_test_8cs_source.html#l00036">36</a> of file <a class="el" href="_traffic_light_test_8cs_source.html">TrafficLightTest.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a0935edcb49fa5bd9eb880a3211efb9b9"></a><!-- doxytag: member="StateForge::Examples::TrafficLight::TrafficLightTest::light" ref="a0935edcb49fa5bd9eb880a3211efb9b9" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_light.html">Light</a> <a class="el" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#a0935edcb49fa5bd9eb880a3211efb9b9">StateForge::Examples::TrafficLight::TrafficLightTest::light</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_traffic_light_test_8cs_source.html#l00030">30</a> of file <a class="el" href="_traffic_light_test_8cs_source.html">TrafficLightTest.cs</a>.</p>

</div>
</div>
<a class="anchor" id="ad871ac2946f4da8137f6054499ce5a4b"></a><!-- doxytag: member="StateForge::Examples::TrafficLight::TrafficLightTest::next" ref="ad871ac2946f4da8137f6054499ce5a4b" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">string <a class="el" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#ad871ac2946f4da8137f6054499ce5a4b">StateForge::Examples::TrafficLight::TrafficLightTest::next</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_traffic_light_test_8cs_source.html#l00036">36</a> of file <a class="el" href="_traffic_light_test_8cs_source.html">TrafficLightTest.cs</a>.</p>

</div>
</div>
<a class="anchor" id="acbe28b7afea03021e875806af9b80085"></a><!-- doxytag: member="StateForge::Examples::TrafficLight::TrafficLightTest::observer" ref="acbe28b7afea03021e875806af9b80085" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">IObserver <a class="el" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#acbe28b7afea03021e875806af9b80085">StateForge::Examples::TrafficLight::TrafficLightTest::observer</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_traffic_light_test_8cs_source.html#l00032">32</a> of file <a class="el" href="_traffic_light_test_8cs_source.html">TrafficLightTest.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a0b2d55fba0d0047eed1316a4019ee690"></a><!-- doxytag: member="StateForge::Examples::TrafficLight::TrafficLightTest::repository" ref="a0b2d55fba0d0047eed1316a4019ee690" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">MockRepository <a class="el" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#a0b2d55fba0d0047eed1316a4019ee690">StateForge::Examples::TrafficLight::TrafficLightTest::repository</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_traffic_light_test_8cs_source.html#l00031">31</a> of file <a class="el" href="_traffic_light_test_8cs_source.html">TrafficLightTest.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a376cda73bb5544077f0a7439ba3281d7"></a><!-- doxytag: member="StateForge::Examples::TrafficLight::TrafficLightTest::transition" ref="a376cda73bb5544077f0a7439ba3281d7" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">string <a class="el" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#a376cda73bb5544077f0a7439ba3281d7">StateForge::Examples::TrafficLight::TrafficLightTest::transition</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_traffic_light_test_8cs_source.html#l00036">36</a> of file <a class="el" href="_traffic_light_test_8cs_source.html">TrafficLightTest.cs</a>.</p>

</div>
</div>
<a class="anchor" id="af0ba597ea0f15da66cf4c2c8d8d3186a"></a><!-- doxytag: member="StateForge::Examples::TrafficLight::TrafficLightTest::ts" ref="af0ba597ea0f15da66cf4c2c8d8d3186a" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TraceSource <a class="el" href="class_state_forge_1_1_examples_1_1_traffic_light_1_1_traffic_light_test.html#af0ba597ea0f15da66cf4c2c8d8d3186a">StateForge::Examples::TrafficLight::TrafficLightTest::ts</a> = new TraceSource(&quot;TrafficLight&quot;)<code> [static, private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_traffic_light_test_8cs_source.html#l00034">34</a> of file <a class="el" href="_traffic_light_test_8cs_source.html">TrafficLightTest.cs</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>Test/TrafficLightTest/<a class="el" href="_traffic_light_test_8cs_source.html">TrafficLightTest.cs</a></li>
</ul>
</div>
﻿<div id="footer">
    <hr />
    <p>
        Copyright &copy; 2011 StateForge.</p>
    <hr />
</div>
</body> </html> 
